package top.yeyusmile.pojo;

import com.google.gson.annotations.SerializedName;

/**
 * {
 *     "code": 1,
 *     "text": "获取成功",
 *     "data": {
 *         "QQ": "xxx",
 *         "Bad_luck": "天赋吉运，能得人望，善用智慧，必获成功 ",
 *         "Character": "[自我牺牲/性格被动型]，其具体表现为：惯于无条件付出，从不祈求有回报，有为了成全他人不惜牺牲自己的情操",
 *         "Overall_bad_luck": "吉"
 *     }
 * }
 * @author 夜雨
 * @Web www.yeyusmile.top
 * @date 2022/3/17 14:02
 */
public class QQLucky {
    Integer code;
    String text;
    QQLuckyDate data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public QQLuckyDate getData() {
        return data;
    }

    public void setData(QQLuckyDate data) {
        this.data = data;
    }

    public static class QQLuckyDate {
        @SerializedName("QQ")
        String qq;
        @SerializedName("Bad_luck")
        String luckInfo;
        @SerializedName("Character")
        String character;
        @SerializedName("Overall_bad_luck")
        String luky;

        public String getQq() {
            return qq;
        }

        public void setQq(String qq) {
            this.qq = qq;
        }

        public String getLuckInfo() {
            return luckInfo;
        }

        public void setLuckInfo(String luckInfo) {
            this.luckInfo = luckInfo;
        }

        public String getCharacter() {
            return character;
        }

        public void setCharacter(String character) {
            this.character = character;
        }

        public String getLuky() {
            return luky;
        }

        public void setLuky(String luky) {
            this.luky = luky;
        }

        @Override
        public String toString() {
            return "qq：" + qq + '\n' +
                    "描述：" + luckInfo + '\n' +
                    "解释：" + character + '\n' +
                    "凶吉：" + luky ;
        }
    }
}
